//
//  SlideView.h
//  SmartContorary
//
//  Created by enghou on 17/6/5.
//  Copyright © 2017年 xyxorigation. All rights reserved.
//  @desc:主要用来配合UIPageViewController使用

#import <UIKit/UIKit.h>
@protocol ChangePage<NSObject>

@required
-(void)changeToPage:(NSInteger)idx;

@end

@interface SlidePageView : UIView

-(void)configTitles:(NSArray *)array;

-(void)slideToPosition:(NSInteger)index;

-(void)slideToOffset:(CGFloat)x;

-(void)unlockForRespondsToScroll;

@property(nonatomic,weak)id<ChangePage>delegate;
@end
